import request from '@/utils/request'

export function listTagcategory(query) {
  return request({
    url: '/tagcategory/list',
    method: 'get',
    params: query
  })
}

export function createTagcategory(data) {
  return request({
    url: '/tagcategory/create',
    method: 'post',
    data
  })
}

export function updateTagcategory(data) {
  return request({
    url: '/tagcategory/update',
    method: 'post',
    data
  })
}

export function deleteTagcategory(data) {
  return request({
    url: '/tagcategory/delete',
    method: 'post',
    data
  })
}

export function listTagCategoryList(query) {
  return request({
    url: '/tagcategory/all',
    method: 'get',
    params: query
  })
}
